package com.wjv.example;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * <p>Title: OrderHystrixMain80</p>
 * <p>Company:misspao </p>
 *
 * @author mp5
 * @Date: Create in 16:28 2020/9/24
 * @Description:
 */

@SpringBootApplication
@EnableDiscoveryClient /** 启用服务发现 */
@EnableFeignClients    /** 启动Feign */
@EnableHystrix /** 启用hystrix */
public class OrderHystrixMain80 {
    public static void main(String[] args) {
        SpringApplication.run(OrderHystrixMain80.class, args);
    }
}
